package com.wgchao.authmanager.infrastructure.jpa.repository;

import com.wgchao.authmanager.infrastructure.jpa.entity.UserAuthoHandleInfo;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * @ClassName: UserAuthoHandleJpaRepository
 * @author: wgchao
 * @createTime: 2020/5/9 6:09 PM
 * @Description: TODO
 */
@Repository
public interface UserAuthoHandleJpaRepository extends
        JpaRepository<UserAuthoHandleInfo, Long>, JpaSpecificationExecutor<UserAuthoHandleInfo> {
    List<UserAuthoHandleInfo> findAllByUserAuthoId(Long userAuthoId);
}
